package cloud.simple.ui.service;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cloud.simple.ui.model.User;

@FeignClient("cloud-simple-service")
public interface FeignUserService {

	@RequestMapping(method = RequestMethod.GET, value = "/user")
	public List<User> searchAll();

}
